package com.cgt.spring.service.impl;

import com.cgt.spring.dao.ICourseDao;
import com.cgt.spring.service.ICourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("courseService")
public class CourseServiceImpl implements ICourseService {
	@Resource(name = "courseDao")
	private ICourseDao courseDao;
	@Override
	public void selectAll() {
		System.out.println("CourseServiceImpl.selectAll");
		courseDao.selectAll();

	}
}
